#!/bin/sh

export PATH=/usr/bin

case $1 in
    start)
        exportfs -r
        rpc.nfsd -s
        ;;
    stop)
        rpc.nfsd 0
        exportfs -au
        exportfs -f
        ;;
esac
